package com.example.bloom.myapplication;

import java.util.List;

/**
 * Created by bloom on 2017/3/22.
 */

public class ReportBean {

    /**
     * 名字：xxx
     */
    private String userName;
    /**
     * 报告类型
     */
    private String reportType;
    /**
     * 报告时间：xxxx-yyy-zz至xxxx-yyy-zz<周报>
     */
    private String reportTime;

    /**
     * 报告内容
     */
    private String reportContent;

    /**
     * 提交时间
     */
    private String submitTime;
    /**
     * 批阅人
     */
    private String readOver;
    /**
     * 抄送人
     */
    private String carbonCopy;

    // 状态
    private int isRead;

    /**
     * 回复
     */
    private List<ReportReplyBean> replys;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportTime(String reportTime) {
        this.reportTime = reportTime;
    }

    public String getReportTime() {
        return reportTime;
    }

    public void setReportContent(String reportContent) {
        this.reportContent = reportContent;
    }

    public String getReportContent() {
        return reportContent;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setReadOver(String readOver) {
        this.readOver = readOver;
    }

    public String getReadOver() {
        return readOver;
    }

    public void setCarbonCopy(String carbonCopy) {
        this.carbonCopy = carbonCopy;
    }

    public String getCarbonCopy() {
        return carbonCopy;
    }

    public void setIsRead(int isRead) {
        this.isRead = isRead;
    }

    public int getIsRead() {
        return isRead;
    }

    public List<ReportReplyBean> getReplys() {
        return replys;
    }

    public void setReplys(List<ReportReplyBean> replys) {
        this.replys = replys;
    }

    public boolean hasReply(){
        if(replys!=null && replys.size()>0){
            return true;
        }
        return false;
    }
}
